package com.zmc.lostfound.post.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zmc
 * @description 用户点赞评论请求体
 */
@Data
@ApiModel("用户点赞评论请求体")
public class CommentLikeVO implements Serializable {

    private static final long serialVersionUID = -2530167062906874152L;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    @NotNull(message = "用户id不能为空")
    @Min(value = 1, message = "用户id必须大于等于1")
    private Long userId;

    /**
     * 评论id
     */
    @ApiModelProperty("评论id")
    @NotNull(message = "评论id不能为空")
    @Min(value = 1, message = "评论id必须大于等于1")
    private Long commentId;

}
